import instance from './index';
const preUrlPath = '';
const NewList = {
    p: ['get,/rest/api/news/list'],
    r: params => {
        return instance.get(`${preUrlPath}/rest/api/news/list`, params)
    }
};
const NewDetail = {
    p: ['get,/rest/api/news/list'],
    r: params => {
        return instance.get(`${preUrlPath}/rest/api/news/`+params.id, params)
    }
};
export {
    NewList,NewDetail
}
